﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddVOrganization.ascx.vb"
    Inherits="WebForm_ManageVOrganization_AddVOrganization" %>

<%--<asp:Panel ID="panel1" runat="server" BackColor="white" BorderWidth="1" Style="cursor: move;
    display: none">
    <br />
    <div align="center">
        <asp:Label ID="lblForm" runat="server" meta:resourcekey="Page" SkinID="title" ForeColor="#408080"></asp:Label>
    </div>
    <br />--%>
<asp:FormView ID="fv" runat="server" DefaultMode="ReadOnly">
    <ItemTemplate>
        <table>
            <tr>
                <td align="right">
                    <asp:Label ID="lblVOrganizationName" runat="server" meta:resourcekey="lblVOrganizationName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtVOrganizationName" runat="server" Text='<%#Bind("VOrganizationName") %>'></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvVOrganizationName" runat="server" Display="None" SetFocusOnError="true" meta:resourcekey="rfvVOrganizationName" ControlToValidate="txtVOrganizationName" ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblOrganizationType" runat="server" meta:resourcekey="lblOrganizationType"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlOrganizationType" runat="server" Enabled="false">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblEstablishDate" runat="server" meta:resourcekey="lblEstablishDate"></asp:Label>
                </td>
                <td align="left">
                <asp:TextBox ID="txtEstablishDate" runat="server"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="ceEstablishDate" runat="server" TargetControlID="txtEstablishDate" Format="yyyy/MM/dd"></ajaxToolkit:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblMOIOrganizationType" runat="server" meta:resourcekey="lblMOIOrganizationType"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlMOIOrganizationType" runat="server">
                    </asp:DropDownList>                 
                </td>
            </tr>          
            <tr>
                <td align="right">
                    <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlActive" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>            
            <tr>
                <td align="right">
                </td>
                <td align="left">
                    <asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" CommandName="btnSave"  ValidationGroup="vInsert" />
                    <asp:Button ID="btnOK" runat="server" Text="取消" />
                    <ajaxToolkit:ConfirmButtonExtender ID="cbSave" runat="server" TargetControlID="btnAdd" meta:resourcekey="cbSave"></ajaxToolkit:ConfirmButtonExtender>
                      <asp:ValidationSummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="vInsert"></asp:ValidationSummary>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
<br />
<%--</asp:Panel>
<asp:Button ID="btnDummy" runat="server" Style="display: none" SkinID="null" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" TargetControlID="btnDummy"
    PopupControlID="panel1" OkControlID="btnOK" PopupDragHandleControlID="panel1" />--%>
